package cn.zebra.dev.common.constant;

/**
 * 系统常量
 *
 * @author GS
 * @date 2017年12月18日
 */
public interface SysConstant {
    /**
     * 时间标记
     */
    String TIME = "_TIME";

    /**
     * Redis会员用户信息存放
     */
    String MEMBER = "MEMBER:";
    /**
     * Redis后台用户存放
     */
    String SECURITY_ADMIN_ACCOUNT = "ADMIN:ACCOUNT:";
    /**
     * 菜单缓存
     */
    String CACHE_MENU = "CACHE:MENU";

    /**
     * 用户token缓存
     */
    String USER_TOKEN = "USER:TOKEN:";

    /**
     * app图形验证码
     */
    String APP_CODE_KEY = "APP_CODE_KEY";

    String MEMBER_UPDATE_PHONE = "MEMBER_UPDATE_PHONE";
    /**
     * 手机注册验证码
     */
    String PHONE_REG_CODE_PREFIX = "PHONE_REG_CODE_";
    /**
     * 手机登录验证码
     */
    String MEMBER_PHONE_LOGIN_CODE_PREFIX = "MEMBER_PHONE_LOGIN_CODE_PREFIX_";

    String PHONE_BIND_CODE_PREFIX = "PHONE_BIND_CODE_";

    String PHONE_UPDATE_PASSWORD_PREFIX = "PHONE_UPDATE_PASSWORD_";

    String PHONE_ADD_ADDRESS_PREFIX = "PHONE_ADD_ADDRESS_";
    /**
     * 绑定银行卡Redis验证码前缀
     */
    String BANK_BIND_CODE = "BANK_BIND_CODE_";
    /**
     * 绑定邮箱Redis验证码前缀
     */
    String EMAIL_BIND_CODE = "EMAIL_BIND_CODE_";

    /**
     * 修改登录密码Redis验证码前缀
     */
    String UPDATE_PASSWORD_CODE = "UPDATE_PASSWORD_CODE_";

    /**
     * 忘记密码
     */
    String FORGET_PASSWORD_CODE = "PHONE:CODE:FORGET_PASSWORD:";

    /**
     * 修改手机号
     */
    String PHONE_CHANGE_CODE = "PHONE_CHANGE_CODE_";

    String ADMIN_LOGIN_PHONE_PREFIX = "ADMIN_LOGIN_PHONE_PREFIX_";

    /**
     * 后台用户登录图形验证码
     */
    String ADMIN_LOGIN_IMAGE_SESSION_ID = "ADMIN:LOGIN:IMAGE:SESSION_ID:";

    /**
     * 会员用户登录图形验证码
     */
    String MEMBER_LOGIN_IMAGE_SESSION_ID = "MEMBER:LOGIN:IMAGE:SESSION_ID:";
}
